home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(_root.gameOn == 1)
- {
- _root.hitPlayer(this.hitMe);
- if(isNegative == 0 && _root.negativeColor == 1)
- {
- myColor.negative();
- isNegative = 1;
- }
- if(isNegative == 1 && _root.negativeColor == 0)
- {
- myColor.setTransform(_root.origStars);
- isNegative = 0;
- }
- _X = _X - _root.groundSpeed;
- if(_X < - this._width)
- {
- removeMovieClip(this);
- }
- }
- }
-